home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
os2
/
sde_300.zip
/
SAMPLE.DOC
< prev
next >
Wrap
Text File
|
1993-02-09
|
5KB
|
82 lines
This file contains descriptions of the SDE internal macros found in
the SAMPLE.MAC file. To load these sample macros into your SDE
environment, save your current macro set by selecting the 'Export
macros' option, then select the 'Import macros' option, and enter the
name 'SAMPLE' when asked for an import file name.
Any product names used are trademarks of their respective companies.
--------------------------------------------------------------------------
a - Uses an AutoKey sequence to change the file mask to display all files
in the current directory.
--------------------------------------------------------------------------
b - Uses the @Write function combined with the REPEAT execution option to
write the name of every executable program (all .EXE's) on the current
volume to a file called EXELST.TXT in the root directory.
--------------------------------------------------------------------------
c - A simple front-end to the IBM C Set/2 compiler good for executing
compiles of small 'C' programs that do not require make files. The only
option presented to the user asks whether debugging information is
required.
--------------------------------------------------------------------------
d - Executes the external macro DIRSTACK.XM which provides a directory
stack for SDE. The current directory can be pushed, the top directory
can be popped, or the stack can be viewed and a directory selected
for switching.
--------------------------------------------------------------------------
e - Loads Multi-Edit (the author's editor of choice) with the currently
hilited file. The CMD option is used since Multi-Edit is a DOS
program.
--------------------------------------------------------------------------
E - Prompts for a file to load into Multi-Edit. Useful for creating new
files or restoring the state in which Multi-Edit was exited.
--------------------------------------------------------------------------
f - Uses an autokey macro to hilite the specified file.
--------------------------------------------------------------------------
g - Prompts for an expression to pass to GREP2, a simple grep utility
included with SDE. GREP2 doesn't expand wildcards, but, thanks to
OS/2's long command-line limit, a large number of file names can be
passed via the @Tagged() macro function. The searched for expression
is kept for future searches.
--------------------------------------------------------------------------
h - Loads the hilited file into Hexedit, a hexidecimal file editor that
is included with SDE. Currently, SDE must be running for Hexedit to
run.
--------------------------------------------------------------------------
l - Executes the L2 file viewer utility (also from SANSoft) on tagged or
hilited files.
--------------------------------------------------------------------------
L - Executes the L2 utility on the entered file name(s) or masks.
--------------------------------------------------------------------------
m - Executes the external macro MASK.XM which provides a menu for the
various ways to specify the file mask for the current directory.
--------------------------------------------------------------------------
p - A simple way to print the hilited file; good for small files.
--------------------------------------------------------------------------
s - Executes the SESSIONS.XM external macro as a means to start a new
session type from within SDE.
--------------------------------------------------------------------------
t - Demonstrates the @Tag function by tagging all 'C' source code files in
the current directory having extensions of '.C' or '.H'.
--------------------------------------------------------------------------
u - Unzips all files in the hilited .ZIP file.
--------------------------------------------------------------------------
v - Allows you to view the names of files in the currently hilited .ZIP
file.
--------------------------------------------------------------------------
w - Allows you to assign the current directory to one of the macro keys
0 through 9 via an AutoKey sequence which automatically edits the
proper macro.
--------------------------------------------------------------------------
x - Uses the CMD exection option to execute the hilited file if it has an
extension of '.CMD' or '.EXE'.
--------------------------------------------------------------------------
z - Zips all tagged files into the specified .ZIP file.
--------------------------------------------------------------------------
Z - Executes the ZIP.XM external macro which front-ends the PKZIP and
PKUNZIP utilities (which to use is determined automatically by the
macro at run-time).
--------------------------------------------------------------------------